<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Qwt User&#39;s Guide: qwt_series_store.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Qwt User&#39;s Guide
   &#160;<span id="projectnumber">6.1.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('qwt__series__store_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">qwt_series_store.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/* -*- mode: C++ ; c-file-style: &quot;stroustrup&quot; -*- *****************************</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Qwt Widget Library</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright (C) 1997   Josef Wilgen</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Copyright (C) 2002   Uwe Rathmann</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * This library is free software; you can redistribute it and/or</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * modify it under the terms of the Qwt License, Version 1.0</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *****************************************************************************/</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#ifndef QWT_SERIES_STORE_H</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#define QWT_SERIES_STORE_H</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;qwt_global.h&quot;</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;qwt_series_data.h&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="class_qwt_abstract_series_store.html">   24</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_qwt_abstract_series_store.html">QwtAbstractSeriesStore</a></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;{</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="class_qwt_abstract_series_store.html#a3990acd8aba251e46d8c64d2154e3f72">   28</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_qwt_abstract_series_store.html#a3990acd8aba251e46d8c64d2154e3f72">~QwtAbstractSeriesStore</a>() {}</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_qwt_abstract_series_store.html#ad95aac5e145cec2871e873c16f5f83b9">dataChanged</a>() = 0;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_qwt_abstract_series_store.html#a8a1cab11ce068f9c578a02d40e111b1a">setRectOfInterest</a>( <span class="keyword">const</span> QRectF &amp; ) = 0;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    <span class="keyword">virtual</span> QRectF <a class="code" href="class_qwt_abstract_series_store.html#a932eeccd358a28726146012500038df2">dataRect</a>() <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="class_qwt_abstract_series_store.html#a2fd5537a0c0cf8de7af4a702e110b643">dataSize</a>() <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;};</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="class_qwt_series_store.html">   57</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_qwt_series_store.html">QwtSeriesStore</a>: <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="class_qwt_abstract_series_store.html">QwtAbstractSeriesStore</a></div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;{</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="class_qwt_series_store.html">QwtSeriesStore&lt;T&gt;</a>();</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    ~<a class="code" href="class_qwt_series_store.html">QwtSeriesStore&lt;T&gt;</a>();</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keywordtype">void</span> setData( <a class="code" href="class_qwt_series_data.html">QwtSeriesData&lt;T&gt;</a> *series );</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <a class="code" href="class_qwt_series_data.html">QwtSeriesData&lt;T&gt;</a> *data();</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_series_data.html">QwtSeriesData&lt;T&gt;</a> *data() <span class="keyword">const</span>;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    T sample( <span class="keywordtype">int</span> index ) <span class="keyword">const</span>;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="class_qwt_abstract_series_store.html#a2fd5537a0c0cf8de7af4a702e110b643">dataSize</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    <span class="keyword">virtual</span> QRectF <a class="code" href="class_qwt_abstract_series_store.html#a932eeccd358a28726146012500038df2">dataRect</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_qwt_abstract_series_store.html#a8a1cab11ce068f9c578a02d40e111b1a">setRectOfInterest</a>( <span class="keyword">const</span> QRectF &amp;rect );</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    <a class="code" href="class_qwt_series_data.html">QwtSeriesData&lt;T&gt;</a> *swapData( <a class="code" href="class_qwt_series_data.html">QwtSeriesData&lt;T&gt;</a> *series );</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    <a class="code" href="class_qwt_series_data.html">QwtSeriesData&lt;T&gt;</a> *d_series;</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;};</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="class_qwt_series_store.html#aa23545f522f87da936c0f095ee07c80e">  125</a></span>&#160;<a class="code" href="class_qwt_series_store.html#aa23545f522f87da936c0f095ee07c80e">QwtSeriesStore&lt;T&gt;::QwtSeriesStore</a>():</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    d_series( NULL )</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;{</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;}</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="class_qwt_series_store.html#ae500a3787e77e16d096f4e6c1d292101">  131</a></span>&#160;<a class="code" href="class_qwt_series_store.html#ae500a3787e77e16d096f4e6c1d292101">QwtSeriesStore&lt;T&gt;::~QwtSeriesStore</a>()</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;{</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    <span class="keyword">delete</span> d_series;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;}</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="class_qwt_series_store.html#aae258d330c8d1bd2057b1f0bc13700f9">  137</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="class_qwt_series_data.html">QwtSeriesData&lt;T&gt;</a> *<a class="code" href="class_qwt_series_store.html#aae258d330c8d1bd2057b1f0bc13700f9">QwtSeriesStore&lt;T&gt;::data</a>()</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;{</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    <span class="keywordflow">return</span> d_series;</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;}</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="class_qwt_series_store.html#afa10ec8a1ed48eb1955481bef8af6995">  143</a></span>&#160;<span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="class_qwt_series_data.html">QwtSeriesData&lt;T&gt;</a> *<a class="code" href="class_qwt_series_store.html#aae258d330c8d1bd2057b1f0bc13700f9">QwtSeriesStore&lt;T&gt;::data</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    <span class="keywordflow">return</span> d_series;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;}</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="class_qwt_series_store.html#adbb86cd5cd59472f2f3137742ca74a48">  149</a></span>&#160;<span class="keyword">inline</span> T <a class="code" href="class_qwt_series_store.html#adbb86cd5cd59472f2f3137742ca74a48">QwtSeriesStore&lt;T&gt;::sample</a>( <span class="keywordtype">int</span> index )<span class="keyword"> const</span></div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    <span class="keywordflow">return</span> d_series ? d_series-&gt;sample( index ) : T();</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;}</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">  155</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">QwtSeriesStore&lt;T&gt;::setData</a>( <a class="code" href="class_qwt_series_data.html">QwtSeriesData&lt;T&gt;</a> *series )</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;{</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    <span class="keywordflow">if</span> ( d_series != series )</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    {</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;        <span class="keyword">delete</span> d_series;</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;        d_series = series;</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;        <a class="code" href="class_qwt_abstract_series_store.html#ad95aac5e145cec2871e873c16f5f83b9">dataChanged</a>();</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;    }</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;}</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="class_qwt_series_store.html#a1a3b9719889a0d7b85baf24b3dbf964f">  166</a></span>&#160;<span class="keywordtype">size_t</span> <a class="code" href="class_qwt_series_store.html#a1a3b9719889a0d7b85baf24b3dbf964f">QwtSeriesStore&lt;T&gt;::dataSize</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;    <span class="keywordflow">if</span> ( d_series == NULL )</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;        <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;    <span class="keywordflow">return</span> d_series-&gt;size();</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;}</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="class_qwt_series_store.html#a2acffb18573253acfb30cbedacf8c711">  175</a></span>&#160;QRectF <a class="code" href="class_qwt_series_store.html#a2acffb18573253acfb30cbedacf8c711">QwtSeriesStore&lt;T&gt;::dataRect</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    <span class="keywordflow">if</span> ( d_series == NULL )</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;        <span class="keywordflow">return</span> QRectF( 1.0, 1.0, -2.0, -2.0 ); <span class="comment">// invalid</span></div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;    <span class="keywordflow">return</span> d_series-&gt;boundingRect();</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;}</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="class_qwt_series_store.html#a64971dd5eaed045b88ac06c9cd8fd6e9">  184</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_series_store.html#a64971dd5eaed045b88ac06c9cd8fd6e9">QwtSeriesStore&lt;T&gt;::setRectOfInterest</a>( <span class="keyword">const</span> QRectF &amp;rect )</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;{</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    <span class="keywordflow">if</span> ( d_series )</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;        d_series-&gt;setRectOfInterest( rect );</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;}</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="class_qwt_series_store.html#a5f47997d53d580e6a12a6ca61b7225b0">  191</a></span>&#160;<a class="code" href="class_qwt_series_data.html">QwtSeriesData&lt;T&gt;</a>* <a class="code" href="class_qwt_series_store.html#a5f47997d53d580e6a12a6ca61b7225b0">QwtSeriesStore&lt;T&gt;::swapData</a>( <a class="code" href="class_qwt_series_data.html">QwtSeriesData&lt;T&gt;</a> *series )</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;{</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;    <a class="code" href="class_qwt_series_data.html">QwtSeriesData&lt;T&gt;</a> * swappedSeries = d_series;</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;    d_series = series;</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;    <span class="keywordflow">return</span> swappedSeries;</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;}</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="class_qwt_series_store_html_aae258d330c8d1bd2057b1f0bc13700f9"><div class="ttname"><a href="class_qwt_series_store.html#aae258d330c8d1bd2057b1f0bc13700f9">QwtSeriesStore::data</a></div><div class="ttdeci">QwtSeriesData&lt; T &gt; * data()</div><div class="ttdef"><b>Definition:</b> qwt_series_store.h:137</div></div>
<div class="ttc" id="class_qwt_abstract_series_store_html_a8a1cab11ce068f9c578a02d40e111b1a"><div class="ttname"><a href="class_qwt_abstract_series_store.html#a8a1cab11ce068f9c578a02d40e111b1a">QwtAbstractSeriesStore::setRectOfInterest</a></div><div class="ttdeci">virtual void setRectOfInterest(const QRectF &amp;)=0</div></div>
<div class="ttc" id="class_qwt_abstract_series_store_html"><div class="ttname"><a href="class_qwt_abstract_series_store.html">QwtAbstractSeriesStore</a></div><div class="ttdoc">Bridge between QwtSeriesStore and QwtPlotSeriesItem. </div><div class="ttdef"><b>Definition:</b> qwt_series_store.h:24</div></div>
<div class="ttc" id="class_qwt_series_store_html_add3ce83fe90e976b75a0ebaa79caee4c"><div class="ttname"><a href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">QwtSeriesStore::setData</a></div><div class="ttdeci">void setData(QwtSeriesData&lt; T &gt; *series)</div><div class="ttdef"><b>Definition:</b> qwt_series_store.h:155</div></div>
<div class="ttc" id="class_qwt_series_store_html_adbb86cd5cd59472f2f3137742ca74a48"><div class="ttname"><a href="class_qwt_series_store.html#adbb86cd5cd59472f2f3137742ca74a48">QwtSeriesStore::sample</a></div><div class="ttdeci">T sample(int index) const </div><div class="ttdef"><b>Definition:</b> qwt_series_store.h:149</div></div>
<div class="ttc" id="class_qwt_abstract_series_store_html_a932eeccd358a28726146012500038df2"><div class="ttname"><a href="class_qwt_abstract_series_store.html#a932eeccd358a28726146012500038df2">QwtAbstractSeriesStore::dataRect</a></div><div class="ttdeci">virtual QRectF dataRect() const  =0</div></div>
<div class="ttc" id="class_qwt_series_store_html_a5f47997d53d580e6a12a6ca61b7225b0"><div class="ttname"><a href="class_qwt_series_store.html#a5f47997d53d580e6a12a6ca61b7225b0">QwtSeriesStore::swapData</a></div><div class="ttdeci">QwtSeriesData&lt; T &gt; * swapData(QwtSeriesData&lt; T &gt; *series)</div><div class="ttdef"><b>Definition:</b> qwt_series_store.h:191</div></div>
<div class="ttc" id="class_qwt_abstract_series_store_html_ad95aac5e145cec2871e873c16f5f83b9"><div class="ttname"><a href="class_qwt_abstract_series_store.html#ad95aac5e145cec2871e873c16f5f83b9">QwtAbstractSeriesStore::dataChanged</a></div><div class="ttdeci">virtual void dataChanged()=0</div><div class="ttdoc">dataChanged() indicates, that the series has been changed. </div></div>
<div class="ttc" id="class_qwt_series_store_html_aa23545f522f87da936c0f095ee07c80e"><div class="ttname"><a href="class_qwt_series_store.html#aa23545f522f87da936c0f095ee07c80e">QwtSeriesStore::QwtSeriesStore</a></div><div class="ttdeci">QwtSeriesStore()</div><div class="ttdoc">Constructor The store contains no series. </div><div class="ttdef"><b>Definition:</b> qwt_series_store.h:125</div></div>
<div class="ttc" id="class_qwt_series_data_html"><div class="ttname"><a href="class_qwt_series_data.html">QwtSeriesData</a></div><div class="ttdoc">Abstract interface for iterating over samples. </div><div class="ttdef"><b>Definition:</b> qwt_series_data.h:47</div></div>
<div class="ttc" id="class_qwt_series_store_html"><div class="ttname"><a href="class_qwt_series_store.html">QwtSeriesStore</a></div><div class="ttdoc">Class storing a QwtSeriesData object. </div><div class="ttdef"><b>Definition:</b> qwt_series_store.h:57</div></div>
<div class="ttc" id="class_qwt_series_store_html_ae500a3787e77e16d096f4e6c1d292101"><div class="ttname"><a href="class_qwt_series_store.html#ae500a3787e77e16d096f4e6c1d292101">QwtSeriesStore::~QwtSeriesStore</a></div><div class="ttdeci">~QwtSeriesStore()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> qwt_series_store.h:131</div></div>
<div class="ttc" id="class_qwt_series_store_html_a2acffb18573253acfb30cbedacf8c711"><div class="ttname"><a href="class_qwt_series_store.html#a2acffb18573253acfb30cbedacf8c711">QwtSeriesStore::dataRect</a></div><div class="ttdeci">virtual QRectF dataRect() const </div><div class="ttdef"><b>Definition:</b> qwt_series_store.h:175</div></div>
<div class="ttc" id="class_qwt_abstract_series_store_html_a2fd5537a0c0cf8de7af4a702e110b643"><div class="ttname"><a href="class_qwt_abstract_series_store.html#a2fd5537a0c0cf8de7af4a702e110b643">QwtAbstractSeriesStore::dataSize</a></div><div class="ttdeci">virtual size_t dataSize() const  =0</div></div>
<div class="ttc" id="class_qwt_series_store_html_a1a3b9719889a0d7b85baf24b3dbf964f"><div class="ttname"><a href="class_qwt_series_store.html#a1a3b9719889a0d7b85baf24b3dbf964f">QwtSeriesStore::dataSize</a></div><div class="ttdeci">virtual size_t dataSize() const </div><div class="ttdef"><b>Definition:</b> qwt_series_store.h:166</div></div>
<div class="ttc" id="class_qwt_series_store_html_a64971dd5eaed045b88ac06c9cd8fd6e9"><div class="ttname"><a href="class_qwt_series_store.html#a64971dd5eaed045b88ac06c9cd8fd6e9">QwtSeriesStore::setRectOfInterest</a></div><div class="ttdeci">virtual void setRectOfInterest(const QRectF &amp;rect)</div><div class="ttdef"><b>Definition:</b> qwt_series_store.h:184</div></div>
<div class="ttc" id="class_qwt_abstract_series_store_html_a3990acd8aba251e46d8c64d2154e3f72"><div class="ttname"><a href="class_qwt_abstract_series_store.html#a3990acd8aba251e46d8c64d2154e3f72">QwtAbstractSeriesStore::~QwtAbstractSeriesStore</a></div><div class="ttdeci">virtual ~QwtAbstractSeriesStore()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> qwt_series_store.h:28</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><b>qwt_series_store.h</b></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
